<%@ include file="/WEB-INF/pages/template/libs.jsp" %>

<select name="searchValue" id="searchValue">
	<c:if test="${searchValues!=null}">
		<c:forEach items="${searchValues}" var="value">
			<c:if test="${searchType=='PE'}">
				<option value="<c:out value="${value.id}" />"><c:out value="${value.titulo}"></c:out> </option>
			</c:if>
			<c:if test="${searchType=='CI'}">
				<option value="<c:out value="${value.id}" />"><c:out value="${value.nombre}"></c:out> </option>
			</c:if>
		</c:forEach>
	</c:if>	
	<c:if test="${searchValues==null}">
		<option>No hay resultados</option>
	</c:if>
</select>
